from app.unit import *
from app.main import *


if __name__ == '__main__':
    app = QApplication([])
    win = Main()
    proxy = QNetworkProxy()
    proxy.setType(QNetworkProxy.HttpProxy)
    proxy.setHostName("127.0.0.1")
    proxy.setPort(3969)
    QNetworkProxy.setApplicationProxy(proxy)
    win.show()
    app.exec()